package com.nclg.exam.dto;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class PaperListDto {

    private Long pId;

    private String pName;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date pCreatetime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date pBegintime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date pEndtime;

    private Integer pDuration;

    private BigDecimal pScore;

    private String pStatus;

    private String uName;
}
